<ui:composition xmlns="http://www.w3.org/1999/xhtml"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:p="http://primefaces.prime.com.tr/ui">

	<p:menubar style="margin-bottom:5px;" autoSubmenuDisplay="true">
		<p:menuitem value="#{x['faces.label.label.menu.user']}" ajax="false" immediate="true"
			action="userSearch"  icon="ui-icon ui-icon-person"/>
		<p:menuitem value="#{x['faces.button.label.generic.out']}" onclick="dlg3.show();"
			icon="ui-icon ui-icon-close" />
	</p:menubar>

	<p:dialog header="#{x['faces.panel.label.menu.logoff']}" widgetVar="dlg3" showEffect="bounce"
		hideEffect="explode" height="200">
		<br />
		<label>#{x['faces.link.label.menu.logoff.question']}</label>
		<p:commandButton style="position:absolute; right:20px; bottom:20px;" value="Sim" type="submit" immediate="true"
		ajax="false" action="#{loginMB.doLogoff}" />
	</p:dialog>

</ui:composition>
